Custom Multiline Text Widget
Multiline text widget that aligns its text to the left and has a resizable width.
Author
fzzyhmstrs
Since
0.6.0, left and right padding 0.6.5, handles click and hover events 0.7.0
Parameters
Text the text to split and display
space between lines, default 9 (MC standard)
pixels of padding above the text. Will add to the widget's height.
pixels of padding below the text. Will add to the widget's height.
pixels of padding on the left side of the text.
pixels of padding on the right side of the text.
Types
Functions
Handles char input events for custom widgets. Override this for handling keyboard inputs.
Handles keyboard events for custom widgets. Override this for handling keyboard inputs.
Handles keyboard release events for custom widgets. Override this for handling keyboard inputs.
Handles mouse click events for custom widgets. Override this or onPress for handling mouse inputs.
Handles mouse drag events for custom widgets. Override this for handling drag inputs
Handles mouse button release events for custom widgets. Override this for handling mouse inputs.
Handles mouse scroll events for custom widgets. Override this for handling mouse inputs.